SftTree/NET 2.0

BackColorSelected Property, ItemClass Class

Softel vdm, Inc.

Defines the background color of the item's cells, if the item is selected.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Property BackColorSelected As Color

C#   

public Color BackColorSelected { get; set; }

C++   

public: property Color BackColorSelected {
        Color get();
        void set(Color value);
}

Property Value

The background color or Color.Empty.

The default value is Color.Empty.

Comments

The BackColorSelected property defines the background color of the item's cells, if the item is selected.

If the background color is set to Color.Empty, the following properties are used instead: ColumnClass.BackColorSelected, BackColorSelected for items, Headers.BackColorSelected for column headers, Footers.BackColorSelected for column footers. Individual selected cells can define their background color using the CellBaseClass.BackColorSelected property.

If an item is not considered selected, the BackColor property is used to define the background color instead.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com